<?php

namespace app\common\model;

use app\common\model\CommonModel;

class DataRecordModel extends CommonModel{

    protected  $name = 'data_record';

    protected  $pk   = 'id';

    public static function up($data,$where){
        $data['edittime']=date('Y-m-d H:i:s');
        $res=self::update($data,$where);
        return $res;
    }
}